//@ts-ignore
import axios from '../utils/axios';
export default {
  addParse(params:object):Promise<any>{
    return axios.post('/parse', params);
  },
  delParse(id:string):Promise<any>{
    return axios.delete('/parse/'+id);
  },
  fixParse(id:string, params:object):Promise<any>{
    return axios.put('/parse/'+id, params);
  },
  infoParse(id:string):Promise<any>{
    return axios.get('/parse/'+id);
  },
  pageParse(params:object):Promise<any>{
    return axios.get('/parse',{ params });
  }
}